//
//  PaomaViewCell.m
//  Shengzhuli
//
//  Created by FXGuo on 2018/3/13.
//  Copyright © 2018年 kamangkeji. All rights reserved.
//

#import "PaomaViewCell.h"
#import "XBTextLoopView.h"

@interface PaomaViewCell()
@property (weak, nonatomic) IBOutlet UIImageView *imgView;


@end

@implementation PaomaViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    XBTextLoopView *loopView = [XBTextLoopView textLoopViewWith:@[@"成功对接项目：1083个", @"成功对接资本7.2亿元", @"累计接待人数120万人次",@"已合作商会和俱乐部累计42个", @"现北京周边已开设基地达48个", @"现北京城区已开设会所102个",@"成功路演会员项目320余个", @"累计合伙人数已经突破1500人", @"商城累计售出商品价值超过30万元",@"为1000余位会员找到了自己的客户"] loopInterval:3.0 initWithFrame:CGRectMake(CGRectGetMaxX(self.imgView.frame), 0, ScreenW-52, 15) selectBlock:^(NSString *selectString, NSInteger index) {
//        NSLog(@"%@===index%ld", selectString, index);
    }];
    loopView.centerY = self.imgView.centerY;
    [self addSubview:loopView];
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
